package com.ruoyi.project.simple.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 送检样品订单对象 spl_order
 * 
 * @author zhujj
 * @date 2020-01-09
 */
public class SplOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 样品送检订单 */
    private String orderId;

    /** 样品订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    private Integer submitUserId;
    /** 送检人 */
    @Excel(name = "送检人")
    private String submitName;

    /** 送检人手机 */
    @Excel(name = "送检人手机号")
    private String submitPhone;

    /** 送检日期 */
    @Excel(name = "送检日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date submitDate;

    /** 接收城市 */
    @Excel(name = "接收城市")
    private String acceptRegName;

    /** 接收人 */
    @Excel(name = "接收人")
    private String acceptUserName;
    /** 接收人 */
    private Long acceptUserId;


    /** 订单总价 */
    @Excel(name = "订单总价")
    private BigDecimal totalAmount;
    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal deductAmount;
    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal actualAmount;


    /** 删除标志（0代表存在 9代表删除） */
    private String delFlag;

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getDeductAmount() {
        return deductAmount;
    }

    public void setDeductAmount(BigDecimal deductAmount) {
        this.deductAmount = deductAmount;
    }

    public BigDecimal getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    public Integer getSubmitUserId() {
        return submitUserId;
    }

    public void setSubmitUserId(Integer submitUserId) {
        this.submitUserId = submitUserId;
    }

    public String getAcceptUserName() {
        return acceptUserName;
    }

    public void setAcceptUserName(String acceptUserName) {
        this.acceptUserName = acceptUserName;
    }

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setSubmitName(String submitName) 
    {
        this.submitName = submitName;
    }

    public String getSubmitName() 
    {
        return submitName;
    }
    public void setSubmitPhone(String submitPhone) 
    {
        this.submitPhone = submitPhone;
    }

    public String getSubmitPhone() 
    {
        return submitPhone;
    }
    public void setSubmitDate(Date submitDate) 
    {
        this.submitDate = submitDate;
    }

    public Date getSubmitDate() 
    {
        return submitDate;
    }
    public void setAcceptRegName(String acceptRegName) 
    {
        this.acceptRegName = acceptRegName;
    }

    public String getAcceptRegName() 
    {
        return acceptRegName;
    }
    public void setAcceptUserId(Long acceptUserId) 
    {
        this.acceptUserId = acceptUserId;
    }

    public Long getAcceptUserId() 
    {
        return acceptUserId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderNumber", getOrderNumber())
            .append("submitName", getSubmitName())
            .append("submitPhone", getSubmitPhone())
            .append("submitDate", getSubmitDate())
            .append("acceptRegName", getAcceptRegName())
            .append("acceptUserId", getAcceptUserId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
